<?php

namespace App\Models;

use App\Library\Models\Entity;
use Illuminate\Database\Eloquent\SoftDeletes;

class ShopProductAlbumModel extends Entity
{
    use SoftDeletes;

    protected $table = 'shop_product_album';
    
    protected $casts = ['file_ids' => 'json', 'desc_img_ids' => 'json', 'tag_ids' => 'json'];

    protected $fillable = [
        'id',
        'serial_number',
        'publisher_id',
        'user_main_id',
        'status_share',
        'title',
        'file_ids',
        'describe',
        'desc_img_ids',
        'tag_ids',
        'created_at',
        'updated_at',
        'deleted_at'
    ];
}
